﻿Public Class showevents
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        If Request.Params("ID") = "" Then
            GridView1.DataSourceID = "SqlDataSource1"
        Else
            GridView1.DataSourceID = "SqlDataSource2"
        End If

    End Sub

End Class